*{
  margin: 0;
  padding: 0;
}
li{
  list-style: none;
}
.container{
  width: 100%;
  height: 100%;
  background-color: #0E1F21;
  .window{
    // width: 100%;
    width: 1565px;
    // height: 808px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    // margin: 60px 0;
    margin-top: 60px;
    .topology{
      // width: 75%;
      width: 1174px;
      height: 808px;
      padding-top: 90px;
      overflow-y: auto;
      margin-top: 30px;
      background-image: url(~@/assets/img/windowbg2.png);
      background-size: 100% 100%;
      background-repeat: no-repeat;
      background-position: 0 0;
      .topologyList{
        height: 88%;
        display: grid;
        grid-template-columns: repeat(auto-fit, 316px);
        justify-content: space-evenly;
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        overflow-y: auto;
        &::-webkit-scrollbar {
          display: none;
        }
        li{
          width: 316px;
          height: 182px;
          margin-top: 60px;
          margin-bottom: 80px;
          margin-right: 20px;
          background-image: url(~@/assets/img/topoitembg1.png);
          background-size: 100%;
          background-repeat: no-repeat;
          background-position: 0 0;
          text-align: center;
          position: relative;
          img{
            margin-top: 30px;
            width: 90px;
            height: 90px;
            z-index: 1
          }
          .arrow{
            height: 25px;
          }
          .getwayQuantity{
            font-size: 10px;
            width: 100%;
            position: absolute;
            top: 5%;
            left: 30%;
            color: #fff;
            .quantity{
              width: 16px;
              height: 16px;
              line-height: 16px;
              display: inline-block;
              margin-left: 10px;
              color: #000;
              background-color: #fff;
              border-radius: 50%;
            }
          }
          .pickupQuantity{
            font-size: 10px;
            width: 100%;
            position: absolute;
            top: 15%;
            left: 30%;
            color: #fff;
            .quantity{
              width: 16px;
              height: 16px;
              line-height: 16px;
              display: inline-block;
              margin-left: 10px;
              color: #000;
              background-color: #fff;
              border-radius: 50%;
            }
          }
          .stationAddress{
            font-size: 12px;
            color: #fff;
            width: 100%;
            overflow: hidden;
            left: 50%;
            top: 88%;
            position: absolute;
            transform: translateX(-50%);
          }
          /*span{
            color: #fff;
            left: 5%;
            top: 87%;
            position: absolute;
          }*/
          .detial {
            //width: 100%;
            //height: 240px;
            width: 100%;
            margin: 0 20px;
            height: 130px;
            display: flex;
            align-items: center;
            justify-content: space-around;
            .icon1,.icon2,.icon3{
              width: 33%;
              height: 100%;
            }
            .icon1{
              img{
                width: 62px;
                height: 62px;
                margin-top: 40px;
              }
            }
            .icon2{
              img{
                width: 80px;
                height: 80px;
                //margin-top: 10px;
              }
            }
            .icon3{
              img{
                //width: 100px;
                //height: 100px;
              }
            }
            .case1 {
              padding-top: 10%;
              padding-left: 6%;

              img {
                transform: scale(0.8);
              }
            }

            .case2 {
              width: 100%;
              height: 240px;
              position: relative;

              .transformer {
                position: absolute;
                top: 0;
                left: 50%;
                transform: translateX(-50%) scale(0.8);
                z-index: 999
              }

              .gateway1 {
                position: absolute;
                top: -9%;
                left: -1%;
                transform: scale(0.5);
              }

              .gateway2 {
                position: absolute;
                top: 9%;
                left: 4%;
                transform: scale(0.5);
              }

              .gateway3 {
                position: absolute;
                top: 22%;
                left: 14%;
                transform: scale(0.5);
              }

              .gateway4 {
                position: absolute;
                top: 31%;
                left: 28%;
                transform: scale(0.5);
              }

              .gateway5 {
                position: absolute;
                top: 31%;
                left: 44%;
                transform: scale(0.5);
              }

              .gateway6 {
                position: absolute;
                top: 22%;
                left: 58%;
                transform: scale(0.5);
              }

              .gateway7 {
                position: absolute;
                top: 8%;
                left: 68%;
                transform: scale(0.5);
              }

              .gateway8 {
                position: absolute;
                top: -10%;
                left: 74%;
                transform: scale(0.5);
              }
            }
            .transformer,.gateway {
              border-radius: 50%;
              background-color: #095870;
            }
          }
          .circle {
            width: 240px;
            height: 120px;
            border: 1px solid lightblue;
            border-radius: 0 0 50% 50%/0 0 100% 100%;
            border-top: none;
            position: absolute;
            top: 1%;
            left: 13%;
            opacity: 0.3;
          }
        }
      }
    }
    .charts{
      width: 360px;
      height: 808px;
      // outline: 1px solid red;
      //position: absolute;
      //top: 30px;
      //right: 0px;
      margin: 30px 0 0 10px;
      .stationStatistics{
        width: 100%;
        height: 260px;
        background-image: url(~@/assets/img/chartbg2.png);
        background-size: 100% 100%;
        margin-bottom: 15px;
        .title{
          width: 86%;
          color: #19ECFF;
          font-size: 14px;
          margin-left: 30px;
          padding-top: 22px;
          padding-bottom: 10px;
          border-bottom: 1px solid #19ECFF;
        }
        .detail{
          width: 100%;
          height: 75%;
          display: flex;
          justify-content: center;
          align-items: center;
          position: relative;
          .quantity{
            width: 107px;
            height: 100%;
            padding-left: 20px;
            .station,.transformer{
              width: 100px;
              height: 54px;
              background-image: url(~@/assets/img/messagebg.png);
              background-size: 100% 100%;
              padding-top: 4px;
              margin: 26px auto 0;
              text-align: center;
              .num{
                font-size: 17px;
                color: #3AC9F5;
              }
              .name{
                font-size: 12px;
                color: #fff;
              }
            }
          }
          .error{
            width: 195px;
            height: 100%;
          }
          .circle{
            width: 160px;
            height: 160px;
            border-radius: 50%;
            border: 1px dashed #35ABEC;
            position: absolute;
            top: 8.5%;
            left: 42.4%;
            .errorNum{
              width: 100px;
              height: 100px;
              border-radius: 50%;
              border: 1px solid #35ABEC;
              background: radial-gradient(#000509,#001D34,#002949,#004072);
              text-align: center;
              padding-top: 20px;
              margin: 0 auto;
              margin-top: 30px;
              .text{
                color: #fff;
                font-size: 12px;
              }
              .num{
                color: #3AC9F5;
                font-size: 26px;
              }
              span{
                display: inline-block;
                color: #35ABEC;
              }
            }
          }
        }
      }
      .errorStatistics{
        width: 100%;
        height: 260px;
        background-image: url(~@/assets/img/chartbg2.png);
        background-size: 100% 100%;
        margin-bottom: 15px;
        .title{
          width: 86%;
          color: #19ECFF;
          font-size: 14px;
          margin-left: 30px;
          padding-top: 22px;
          padding-bottom: 10px;
          border-bottom: 1px solid #19ECFF;
        }
        .line{
          width: 100%;
          height: 75%;
        }
      }
      .errorRank{
        width: 100%;
        height: 260px;
        background-image: url(~@/assets/img/chartbg2.png);
        background-size: 100% 100%;
        .title{
          width: 86%;
          color: #19ECFF;
          font-size: 14px;
          margin-left: 30px;
          padding-top: 22px;
          padding-bottom: 10px;
          border-bottom: 1px solid #19ECFF;
        }
        .error{
          width: 100%;
          height: 45%;
          // outline: 1px solid red;
        }
        .rank{
          width: 100%;
          height: 26%;
          display: flex;
          justify-content: center;
          align-items: center;
          .rank1,.rank2{
            width: 45%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: left;
            text-align: center;
            padding-left: 10px;
          }
          .rank1{
            .errorName{
              width: 60px;
              height: 27px;
              line-height: 27px;
              font-size: 12px;
              color: #fff;
              border-bottom: 2px solid red;
              text-overflow: ellipsis;
              overflow: hidden;
            }
            .errorDetail{
              width: 80px;
              height: 50px;
              padding-top: 2px;
              background-color: red;
              margin-left: 20px;
              color: #fff;
              border-radius: 0 0 8px 0;
              position: relative;
              ::after{
                content: '';
                width: 2px;
                height: 50px;
                background-color: #fff;
                position: absolute;
                top: 0%;
                left: -10%;
              }
            }
          }
          .rank2{
            .errorName{
              width: 60px;
              height: 27px;
              line-height: 27px;
              font-size: 12px;
              color: #fff;
              border-bottom: 2px solid #E57722;
              text-overflow: ellipsis;
              overflow: hidden;
            }
            .errorDetail{
              width: 80px;
              height: 50px;
              padding-top: 2px;
              background-color: #E57722;
              margin-left: 20px;
              color: #fff;
              border-radius: 0 0 8px 0;
              position: relative;
              ::after{
                content: '';
                width: 2px;
                height: 50px;
                background-color: #fff;
                position: absolute;
                top: 0%;
                left: -10%;
              }
            }
          }
        }
      }
    }
  }
}


@media (max-width: 1680px) {
  .container{
    .window{
      margin-left: 10px;
      .getwayQuantity,.pickupQuantity{
        transform: translateX(-20px);
      }
    }
  }
}
@media (max-width: 1280px) {
  .container{
    .window{
      transform: scale(0.96) translateX(-26px);
      .rank{
        .rank1,.rank2{
          .errorName{
            transform: scale(0.9);
          }
          .errorDetail{
            &::after{
              content: '';
              width: 2px;
              height: 50px;
              background-color: #fff;
              position: absolute;
              top: 0%;
              left: -10%;
            }
            p{
              transform: scale(0.8) translateY(-6px);
              &::after{
                display: none;
              }
            }
          }
        }
      }
      .getwayQuantity,.pickupQuantity{
        transform: translateX(-30px);
      }
    }
  }
}